import Home from "../pages/Home";
import Login from "../pages/Login";
import Register from "../pages/Register";
import Search from "../pages/Search";
const routes = [
  {
    path: "/home",
    component: Home,
    meta: {
      isHiddenNav:true
    }
  },
  {
    path: "/login",
    component: Login,
    meta:{
      isHiddenFooter:true
    }
  },
  {
    path: "/register",
    component: Register,
    meta:{
      isHiddenFooter:true
    }
  },
  {
    name:'search',
    path: "/search/:keyword?",
    component: Search
  },
  {
    path: "/",
    redirect: "/home",
  },
];
export default routes
